<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="../lib/vue.js"></script>
</head>
<body>
<div id="root">
    <one :name="name"></one>
</div>
</body>
<script>
    new Vue({
        el : '#root',
        data:{
            name :'sxx'
        },
        components : {
            One : {
                props:{
                    name :{
                        type :String
                    }
                },
                template :(`
                    <p>{{name}}</p>
                `)
            }
        }
    })
</script>
</html>